package MyGO.entity;

import MyGO.utils.enumerastion.Department;
import MyGO.utils.enumerastion.DoctorLevel;
import MyGO.utils.enumerastion.VisTiOnDay;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Doctor {
    private String id;
    private Integer initAmount;
    private Integer usedAmount;
    private String name;
    private String passWord;
    private Department department;
    private DoctorLevel doctorLevel;
    private VisTiOnDay visTiOnDay;
    private Double registFee = 0.0;

    public void addUsedAmount() {
        usedAmount++;
    }
    public void deleteUsedAmount() {
        usedAmount--;
    }
}
